<template>
  <div>
    <button open-type='getUserInfo' @click="shouquan">授权</button>
  </div>
</template>

<script>
import card from '@/components/card'

export default {
  data () {
    return {
      userInfo: {
        nickName: 'mpvue',
        avatarUrl: 'http://mpvue.com/assets/logo.png'
      }
    }
  },

  components: {
    card
  },

  methods: {
    shouquan (e) {
      console.log(e)
    }
  },

  created () {
    // let app = getApp()
  }
}
</script>

<style scoped>

</style>
